package com.huatai.manage.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.huatai.manage.entity.TbCodeMainEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 主编码; Mapper 接口
 * </p>
 *
 * @author luoxc
 * @since 2023-07-05
 */
public interface TbCodeMainMapper extends BaseMapper<TbCodeMainEntity> {

	@Select("SELECT ${ew.sqlSelect} FROM tb_code_main ${ew.customSqlSegment}")
	List<String> getAllByCodeMains(@Param("ew") LambdaQueryWrapper<TbCodeMainEntity> wrapper);
}
